package com.activity.controller;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.activity.model.Activitys;
import com.activity.service.ActivityService;

@Controller
public class ActivityController {
	
	@Resource
	private ActivityService activityService;
	
	@RequestMapping(value="activity/queryActivitys.do")
	@ResponseBody
	public List<Activitys> queryActivitys() {
		return activityService.queryActivitys();
	}
}
